// Copyright 2011 Google Inc. All Rights Reserved.

// This file was generated from .js source files by GYP.  If you
// want to make changes to this file you should either change the
// javascript source files or the GYP script.

#include "src/v8.h"
#include "src/snapshot/natives.h"
#include "src/utils.h"

namespace v8 {
namespace internal {

  static const char sources[] = { 10, 40, 102, 117, 110, 99, 116, 105, 111, 110, 40, 97, 44, 98, 41, 123, 10, 34,
117, 115, 101, 32, 115, 116, 114, 105, 99, 116, 34, 59, 10, 98, 46, 83, 116,
114, 105, 110, 103, 76, 101, 110, 103, 116, 104, 84, 70, 83, 116, 117, 98, 61,
102, 117, 110, 99, 116, 105, 111, 110, 32, 83, 116, 114, 105, 110, 103, 76, 101,
110, 103, 116, 104, 84, 70, 83, 116, 117, 98, 40, 99, 44, 100, 41, 123, 10, 118,
97, 114, 32, 101, 61, 102, 117, 110, 99, 116, 105, 111, 110, 40, 102, 44, 103,
44, 104, 44, 105, 41, 123, 10, 114, 101, 116, 117, 114, 110, 32, 37, 95, 83,
116, 114, 105, 110, 103, 71, 101, 116, 76, 101, 110, 103, 116, 104, 40, 37, 95,
74, 83, 86, 97, 108, 117, 101, 71, 101, 116, 86, 97, 108, 117, 101, 40, 102, 41,
41, 59, 10, 125, 10, 114, 101, 116, 117, 114, 110, 32, 101, 59, 10, 125, 10, 98,
46, 83, 116, 114, 105, 110, 103, 65, 100, 100, 84, 70, 83, 116, 117, 98, 61,
102, 117, 110, 99, 116, 105, 111, 110, 32, 83, 116, 114, 105, 110, 103, 65, 100,
100, 84, 70, 83, 116, 117, 98, 40, 99, 44, 100, 41, 123, 10, 118, 97, 114, 32,
101, 61, 102, 117, 110, 99, 116, 105, 111, 110, 40, 106, 44, 107, 41, 123, 10,
114, 101, 116, 117, 114, 110, 32, 37, 83, 116, 114, 105, 110, 103, 65, 100, 100,
40, 106, 44, 107, 41, 59, 10, 125, 10, 114, 101, 116, 117, 114, 110, 32, 101,
59, 10, 125, 10, 99, 111, 110, 115, 116, 32, 107, 84, 117, 114, 98, 111, 70, 97,
110, 73, 67, 67, 97, 108, 108, 77, 111, 100, 101, 77, 97, 115, 107, 61, 49, 59,
10, 99, 111, 110, 115, 116, 32, 107, 84, 117, 114, 98, 111, 70, 97, 110, 73, 67,
67, 97, 108, 108, 70, 111, 114, 85, 110, 112, 116, 105, 109, 105, 122, 101, 100,
67, 111, 100, 101, 61, 48, 59, 10, 99, 111, 110, 115, 116, 32, 107, 84, 117,
114, 98, 111, 70, 97, 110, 73, 67, 67, 97, 108, 108, 70, 111, 114, 79, 112, 116,
105, 109, 105, 122, 101, 100, 67, 111, 100, 101, 61, 49, 59, 10, 98, 46, 77, 97,
116, 104, 70, 108, 111, 111, 114, 83, 116, 117, 98, 61, 102, 117, 110, 99, 116,
105, 111, 110, 32, 77, 97, 116, 104, 70, 108, 111, 111, 114, 83, 116, 117, 98,
40, 99, 44, 100, 41, 123, 10, 118, 97, 114, 32, 108, 61, 102, 117, 110, 99, 116,
105, 111, 110, 40, 109, 44, 104, 44, 110, 44, 102, 44, 105, 41, 123, 10, 34,
117, 115, 101, 32, 115, 116, 114, 105, 99, 116, 34, 59, 10, 105, 102, 40, 109,
33, 61, 61, 37, 95, 70, 105, 120, 101, 100, 65, 114, 114, 97, 121, 71, 101, 116,
40, 110, 44, 104, 124, 48, 41, 41, 123, 10, 114, 101, 116, 117, 114, 110, 32,
37, 95, 67, 97, 108, 108, 40, 109, 44, 102, 44, 105, 41, 59, 10, 125, 10, 118,
97, 114, 32, 111, 61, 37, 95, 77, 97, 116, 104, 70, 108, 111, 111, 114, 40, 43,
105, 41, 59, 10, 105, 102, 40, 37, 95, 73, 115, 77, 105, 110, 117, 115, 90, 101,
114, 111, 40, 111, 41, 41, 123, 10, 37, 95, 70, 105, 120, 101, 100, 65, 114,
114, 97, 121, 83, 101, 116, 40, 110, 44, 40, 40, 104, 124, 48, 41, 43, 49, 41,
124, 48, 44, 49, 41, 59, 10, 114, 101, 116, 117, 114, 110, 45, 48, 59, 10, 125,
10, 118, 97, 114, 32, 112, 61, 111, 124, 48, 59, 10, 105, 102, 40, 112, 61, 61,
61, 111, 41, 123, 10, 114, 101, 116, 117, 114, 110, 32, 112, 59, 10, 125, 10,
114, 101, 116, 117, 114, 110, 32, 111, 59, 10, 125, 10, 118, 97, 114, 32, 113,
61, 40, 100, 38, 107, 84, 117, 114, 98, 111, 70, 97, 110, 73, 67, 67, 97, 108,
108, 77, 111, 100, 101, 77, 97, 115, 107, 41, 59, 10, 105, 102, 40, 113, 61, 61,
107, 84, 117, 114, 98, 111, 70, 97, 110, 73, 67, 67, 97, 108, 108, 70, 111, 114,
79, 112, 116, 105, 109, 105, 122, 101, 100, 67, 111, 100, 101, 41, 123, 10, 114,
101, 116, 117, 114, 110, 32, 108, 59, 10, 125, 101, 108, 115, 101, 123, 10, 37,
83, 101, 116, 70, 111, 114, 99, 101, 73, 110, 108, 105, 110, 101, 70, 108, 97,
103, 40, 108, 41, 59, 10, 118, 97, 114, 32, 114, 61, 102, 117, 110, 99, 116,
105, 111, 110, 40, 109, 44, 104, 44, 102, 44, 105, 41, 123, 10, 118, 97, 114,
32, 110, 61, 37, 95, 71, 101, 116, 84, 121, 112, 101, 70, 101, 101, 100, 98, 97,
99, 107, 86, 101, 99, 116, 111, 114, 40, 37, 95, 71, 101, 116, 67, 97, 108, 108,
101, 114, 74, 83, 70, 117, 110, 99, 116, 105, 111, 110, 40, 41, 41, 59, 10, 114,
101, 116, 117, 114, 110, 32, 108, 40, 109, 44, 104, 44, 110, 44, 102, 44, 105,
41, 59, 10, 125, 10, 114, 101, 116, 117, 114, 110, 32, 114, 59, 10, 125, 10,
125, 10, 125, 41, 10, 10 };

  template <>
  int NativesCollection<CODE_STUB>::GetBuiltinsCount() {
    return 1;
  }

  template <>
  int NativesCollection<CODE_STUB>::GetDebuggerCount() {
    return 0;
  }

  template <>
  int NativesCollection<CODE_STUB>::GetIndex(const char* name) {
    if (strcmp(name, "code-stubs") == 0) return 0;
    return -1;
  }

  template <>
  Vector<const char> NativesCollection<CODE_STUB>::GetScriptSource(int index) {
    if (index == 0) return Vector<const char>(sources + 0, 914);
    return Vector<const char>("", 0);
  }

  template <>
  Vector<const char> NativesCollection<CODE_STUB>::GetScriptName(int index) {
    if (index == 0) return Vector<const char>("native code-stubs.js", 20);
    return Vector<const char>("", 0);
  }

  template <>
  Vector<const char> NativesCollection<CODE_STUB>::GetScriptsSource() {
    return Vector<const char>(sources, 914);
  }
}  // internal
}  // v8
